Skip to content

Conversation

@capnspacehook
Copy link
Contributor

@capnspacehook capnspacehook commented Mar 2, 2023

Follow up PR to #21953.

When connecting to unregistered OpenSSH nodes, the SSH agent is always
forwarded. When connecting to registered OpenSSH (agentless) nodes
however, the SSH agent doesn't need to be forwarded, so only do so
if the user explicitly asks to.

@capnspacehook capnspacehook changed the base branch from master to capnspacehook/agentless-proxy-conn March 2, 2023 21:42
@capnspacehook capnspacehook force-pushed the capnspacehook/agentless-proxy-conn branch from 0a84a4b to 028c938 Compare March 14, 2023 16:10
@capnspacehook capnspacehook force-pushed the capnspacehook/agentless-agent-forwarding branch from 734b0c3 to 817bf94 Compare March 14, 2023 16:37
@capnspacehook capnspacehook marked this pull request as ready for review March 14, 2023 16:39
@capnspacehook capnspacehook requested a review from jakule March 14, 2023 16:39
@github-actions github-actions bot requested review from strideynet and xacrimon March 14, 2023 16:39
Base automatically changed from capnspacehook/agentless-proxy-conn to master March 14, 2023 18:33
@capnspacehook capnspacehook force-pushed the capnspacehook/agentless-agent-forwarding branch from 817bf94 to 8588683 Compare March 14, 2023 18:35
Copy link
Contributor

@jakule jakule left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@capnspacehook The fix seems to work fine. Can we add some test coverage to prevent regression?

@jakule
Copy link
Contributor

jakule commented Mar 17, 2023

@capnspacehook Ping

When connecting to unregistered OpenSSH nodes, the SSH agent is always
forwarded. When connecting to registered OpenSSH (agentless) nodes
however, the SSH agent doesn't *need* to be forwarded, so only do so
if the user explicitly asks to.
@capnspacehook capnspacehook force-pushed the capnspacehook/agentless-agent-forwarding branch from 8588683 to 790f393 Compare March 20, 2023 14:05
@capnspacehook capnspacehook requested a review from jakule March 20, 2023 14:05
@capnspacehook capnspacehook force-pushed the capnspacehook/agentless-agent-forwarding branch from 790f393 to 5817297 Compare March 20, 2023 14:24
@capnspacehook
Copy link
Contributor Author

@jakule updated agentless integration test to test SSH agent forwarding as well.

Copy link
Contributor

@xacrimon xacrimon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm once existing discussions are resolved

@capnspacehook capnspacehook force-pushed the capnspacehook/agentless-agent-forwarding branch from 5817297 to f9f8820 Compare March 20, 2023 20:57
@capnspacehook capnspacehook requested a review from jakule March 20, 2023 20:58
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from strideynet March 21, 2023 14:11
@capnspacehook capnspacehook added this pull request to the merge queue Mar 21, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 21, 2023
@capnspacehook capnspacehook added this pull request to the merge queue Mar 21, 2023
@capnspacehook capnspacehook merged commit ff8818f into master Mar 21, 2023
@capnspacehook capnspacehook deleted the capnspacehook/agentless-agent-forwarding branch March 21, 2023 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants